package com.hei.pojo.dto;

public class ManageArticle {
    String id;
    String title;
    String publish;

    public String getPublish() {
        return publish;
    }

    public void setPublish(String publish) {
        this.publish=publish;
        if("1".equals(publish))this.publish= "已发布";
        else this.publish="等待发布";
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
